﻿#region zh-CHS 2006 - 2007 DemoSoft 团队 | en 2006 - 2007 DemoSoft Team

//     NOTES
// ---------------
//
// This file is a part of the G.O.S.E(Game Online Server Engine) for .NET.
//
//                 2006-2007 DemoSoft Team
//
//
// First Version : by H.Q.Cai - mailto:caihuanqing@hotmail.com

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU Lesser General Public License as published
 *   by the Free Software Foundation; either version 2.1 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

#region zh-CHS 包含名字空间 | en Include namespace
using System;
using System.Linq;
using System.Text;
using System.Collections.Generic;
#endregion

namespace Demo_G.O.S.E.ServerEngine.Mail
{
    #region zh-CHS 共有的事件数据类 | en Public EventArgs Class
    /// <summary>
    /// BaseMailBox的事件数据类
    /// </summary>
    public class BaseMailBoxEventArgs : EventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BaseMailBoxEventArgs( BaseMailBox baseMailBox )
        {
            m_BaseMailBox = baseMailBox;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// BaseMailBox的数据
        /// </summary>
        private BaseMailBox m_BaseMailBox = null;
        #endregion
        /// <summary>
        /// BaseGuild实例
        /// </summary>
        public BaseMailBox MailBox
        {
            get { return m_BaseMailBox; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailBox的事件数据类
    /// </summary>
    public class BeforeAddMailMessageCallEventArgs : BaseMailBoxEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BeforeAddMailMessageCallEventArgs( BaseMailMessage addMailMessage, BaseMailBox baseMailBox ) :
            base( baseMailBox )
        {
            m_AddMailMessage = addMailMessage;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailMessage m_AddMailMessage = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailMessage AddMailMessage
        {
            get { return m_AddMailMessage; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_IsCancel = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsCancel
        {
            get { return m_IsCancel; }
            set { m_IsCancel = value; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailBox的事件数据类
    /// </summary>
    public class AfterAddMailMessageCallEventArgs : BaseMailBoxEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public AfterAddMailMessageCallEventArgs( BaseMailMessage addMailMessage, BaseMailBox baseMailBox ) :
            base( baseMailBox )
        {
            m_AddMailMessage = addMailMessage;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailMessage m_AddMailMessage = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailMessage AddMailMessage
        {
            get { return m_AddMailMessage; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailBox的事件数据类
    /// </summary>
    public class BeforeRemoveMailMessageCallEventArgs : BaseMailBoxEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BeforeRemoveMailMessageCallEventArgs( BaseMailMessage removeMailMessage, BaseMailBox baseMailBox ) :
            base( baseMailBox )
        {
            m_RemoveMailMessage = removeMailMessage;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailMessage m_RemoveMailMessage = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailMessage RemoveMailMessage
        {
            get { return m_RemoveMailMessage; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_IsCancel = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsCancel
        {
            get { return m_IsCancel; }
            set { m_IsCancel = value; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailBox的事件数据类
    /// </summary>
    public class AfterRemoveMailMessageCallEventArgs : BaseMailBoxEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public AfterRemoveMailMessageCallEventArgs( BaseMailMessage removeMailMessage, BaseMailBox baseMailBox ) :
            base( baseMailBox )
        {
            m_RemoveMailMessage = removeMailMessage;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailMessage m_RemoveMailMessage = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailMessage RemoveMailMessage
        {
            get { return m_RemoveMailMessage; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailManager的事件数据类
    /// </summary>
    public class BaseMailManagerEventArgs : EventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BaseMailManagerEventArgs( BaseMailManager baseMailManager )
        {
            m_BaseMailManager = baseMailManager;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// BaseWorld的数据
        /// </summary>
        private BaseMailManager m_BaseMailManager = null;
        #endregion
        /// <summary>
        /// BaseGuild实例
        /// </summary>
        public BaseMailManager MailManager
        {
            get { return m_BaseMailManager; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailManager的事件数据类
    /// </summary>
    public class BeforeAddMailBoxCallEventArgs : BaseMailManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BeforeAddMailBoxCallEventArgs( BaseMailBox addMailBox, BaseMailManager baseMailManager ) :
            base( baseMailManager )
        {
            m_AddMailBox = addMailBox;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailBox m_AddMailBox = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailBox AddMailBox
        {
            get { return m_AddMailBox; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_IsCancel = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsCancel
        {
            get { return m_IsCancel; }
            set { m_IsCancel = value; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailManager的事件数据类
    /// </summary>
    public class AfterAddMailBoxCallEventArgs : BaseMailManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public AfterAddMailBoxCallEventArgs( BaseMailBox addMailBox, BaseMailManager baseMailManager ) :
            base( baseMailManager )
        {
            m_AddMailBox = addMailBox;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailBox m_AddMailBox = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailBox AddMailBox
        {
            get { return m_AddMailBox; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailManager的事件数据类
    /// </summary>
    public class BeforeRemoveMailBoxCallEventArgs : BaseMailManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public BeforeRemoveMailBoxCallEventArgs( BaseMailBox removeMailBox, BaseMailManager baseMailManager ) :
            base( baseMailManager )
        {
            m_RemoveMailBox = removeMailBox;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailBox m_RemoveMailBox = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailBox RemoveMailBox
        {
            get { return m_RemoveMailBox; }
        }

        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private bool m_IsCancel = false;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public bool IsCancel
        {
            get { return m_IsCancel; }
            set { m_IsCancel = value; }
        }
        #endregion
    }

    /// <summary>
    /// BaseMailManager的事件数据类
    /// </summary>
    public class AfterRemoveMailBoxCallEventArgs : BaseMailManagerEventArgs
    {
        #region zh-CHS 构造和初始化和清理 | en Constructors and Initializers and Dispose
        /// <summary>
        /// 初始化构造
        /// </summary>
        /// <param name="baseCreature"></param>
        public AfterRemoveMailBoxCallEventArgs( BaseMailBox removeMailBox, BaseMailManager baseMailManager ) :
            base( baseMailManager )
        {
            m_RemoveMailBox = removeMailBox;
        }
        #endregion

        #region zh-CHS 共有属性 | en Public Properties
        #region zh-CHS 私有成员变量 | en Private Member Variables
        /// <summary>
        /// 
        /// </summary>
        private BaseMailBox m_RemoveMailBox = null;
        #endregion
        /// <summary>
        /// 
        /// </summary>
        public BaseMailBox RemoveMailBox
        {
            get { return m_RemoveMailBox; }
        }
        #endregion
    }
    #endregion
}
#endregion